package kr.hkit.androidcomplete02.br;

import kr.hkit.androidcomplete02.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class DetectFree extends Activity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.br_detectfree);
		
		findViewById(R.id.broadcast_wifi).setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent = new Intent("kr.hkit.androidcomplete02.br.FREEWIFI");
				intent.putExtra("BoradCast", "WIFI 가능지역");
				sendBroadcast(intent);
			}
		});
		
		
		
	} 

}
